Fully Qualified Name: | Laminas\Db\Adapter\Driver\ConnectionInterface |
Name | Description | Defined By |
---|---|---|
beginTransaction() | Begin transaction | ConnectionInterface |
commit() | Commit | ConnectionInterface |
connect() | Connect | ConnectionInterface |
disconnect() | Disconnect | ConnectionInterface |
execute() | Execute | ConnectionInterface |
getCurrentSchema() | Get current schema | ConnectionInterface |
getLastGeneratedValue() | Get last generated id | ConnectionInterface |
getResource() | Get resource | ConnectionInterface |
isConnected() | Is connected | ConnectionInterface |
rollback() | Rollback | ConnectionInterface |
Begin transaction
Returns: \ConnectionInterface
Commit
Returns: \ConnectionInterface
Connect
Returns: \ConnectionInterface
Disconnect
Returns: \ConnectionInterface
Execute
Parameter Name | Type | Description |
---|---|---|
$sql | string |
Returns: \ResultInterface
Get current schema
Returns: string
Get last generated id
Parameter Name | Type | Description |
---|---|---|
$name | null | Ignored |
Returns: int
Get resource
Returns: mixed
Is connected
Returns: bool
Rollback
Returns: \ConnectionInterface